home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / bsd / utime.h < prev    next >
C/C++ Source or Header  |  1993-01-20  |  479b  |  27 lines

  1. /* Copyright 1993 NeXT Computer, Inc - WMG */
  2.  
  3. #ifndef _UTIME_
  4. #define _UTIME_
  5.  
  6. #include <standards.h>
  7.  
  8. #ifdef _POSIX_SOURCE
  9.     #ifndef _TIME_T
  10.         #define _TIME_T
  11.         typedef long time_t;
  12.     #endif
  13.  
  14.     struct utimbuf {
  15.         time_t    actime;        /* Access time */
  16.         time_t    modtime;    /* Modification time */
  17.     };
  18.  
  19.     #ifdef __STDC__
  20.         extern int utime(const char *path,
  21.             const struct utimbuf *times);
  22.     #else
  23.         extern int utime();
  24.     #endif /* __STDC__ */
  25. #endif /*_POSIX_SOURCE */
  26. #endif /* _UTIME_ */
  27.